package se.webbzon.boltzmann.game.object.pickup;

import se.webbzon.oschi01.worldeditor.WorldObjectDeflation;
import se.webbzon.oschi01.worldeditor.WorldObjectInflator;
import se.webbzon.oschi01.worldobject.WorldObject;

public class RestorationInflator extends WorldObjectInflator {

	/*============================================================
	Constructors
	============================================================*/
	
	public RestorationInflator() {
		super(Restoration.worldObjectName);
	}
	
	/*============================================================
	Public Methods
	============================================================*/

	@Override public WorldObject makeWorldObject(WorldObjectDeflation deflation) {
		return ((RestorationDeflation) deflation).makeRestoration();
	}

	@Override public WorldObjectDeflation makeDeflation(int deflationProperties, WorldObject[] dependencies) {
		return new RestorationDeflation(deflationProperties);
	}

}
